docs/xen-headers: allow headers to be symlinks
authorJan Beulich <jbeulich@suse.com>
Wed, 27 Jun 2012 07:36:43 +0000 (09:36 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 27 Jun 2012 07:36:43 +0000 (09:36 +0200)
There's no apparent reason not to permit this, and since we don't
support out-of-source-tree builds, the least overhead way of doing
multiple, differently configured (perhaps different architecture)
builds from a single source tree is to create symlinked build trees.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
docs/xen-headers

index c4cf2e4f313bbc484c6721b253ec595eebe1911c..54155632c46e001e0b09995da3e8be9f01c91d5b 100755 (executable)
@@ -368,7 +368,7 @@ foreach $pass (qw(1 2)) {
     find({ wanted => 
                sub {
                    return unless m/\.h$/;
-                   lstat $File::Find::name or die "$File::Find::name $!";
+                   stat $File::Find::name or die "$File::Find::name $!";
                    -f _ or die "$File::Find::name";
                    substr($File::Find::name, 0, 1+length $basedir) 
                        eq "$basedir/"